package com.mes.service.cb;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mes.dao.cb.MaMoveMapper;
import com.mes.entity.cb.MaMove;
import com.mes.entity.cb.Pages;
import com.mes.entity.hy.Maters;

/**
 * @ClassName: MaMoveController
 * @Description: 资材移库
 * @Author cb
 * @Date 2018年4月12日15:53:12
 * @version 1.0
 */
@Service
@Transactional
public class MaMoveServiceImpl implements MaMoveService {

    @Resource
    private MaMoveMapper maMoveMapper;

    @Override
    public List<Maters> MaMove_list(Pages pages) {
        return maMoveMapper.MaMove_list(pages);
    }

    @Override
    public int MaMove_listTotal(Pages pages) {
        return maMoveMapper.MaMove_listTotal(pages);
    }

    @Override
    public int MaMoveMx_listTotal(Pages pages) {
        return maMoveMapper.MaMoveMx_listTotal(pages);
    }

    @Override
    public List<MaMove> MaMoveMx_list(Pages pages) {
        return maMoveMapper.MaMoveMx_list(pages);
    }

    @Override
    public int maMove_insert(List<MaMove> list) {
        return maMoveMapper.maMove_insert(list);
    }

    @Override
    public int MaMove_sum(String pickOdd) {
        return maMoveMapper.MaMove_sum(pickOdd);
    }

	@Override
	public void maStock_deleteByHy(long l) {
		maMoveMapper.maStock_deleteByHy(l);
		
	}
}
